
import React, { createContext } from 'react'
import ChildrenCom from "./childrenCom"

export const countContext = createContext();
export default function Home() {

    return (
        <countContext.Provider value={100}>
            <h1>
                context
            </h1>
            <ChildrenCom>
            </ChildrenCom>
        </countContext.Provider>
    )
}